package kr.hkit.powerjava.chapter23;

public class MyThreadTest {
	public static void main(String[] args) {
		Thread t= new MyThread();
		t.start();
		Thread t2= new Thread(new MyRunnable());
		t2.start();
		for(char ch='a';ch <='l';ch++){
			System.out.print(ch+" ");
			try {
				Thread.sleep(500);//0.5초 쉼
			} catch (InterruptedException e) {
			}
			
		}System.out.println("메인스레드 종료");
	}
}
